import request from '@/utils/request'

export function listRestaurantTableInfo(query) {
  return request({
    url: '/api/adminBiz/restaurant/tableInfo/list',
    method: 'post',
    data: query
  })
}

export function addTableInfo(data) {
  return request({
    url: '/api/adminBiz/restaurant/tableInfo/add',
    method: 'post',
    data: data
  })
}

export function deleteTableInfo(data) {
  return request({
    url: '/api/adminBiz/restaurant/tableInfo/delete',
    method: 'post',
    data: data
  })
}

export function updateTableInfo(data) {
  return request({
    url: '/api/adminBiz/restaurant/tableInfo/update',
    method: 'post',
    data: data
  })
}
